package com.easy.service;

import com.easy.bean.Bed;
import com.easy.bean.Doctor;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IDoctorService {
    List<Doctor> getDoctor(@Param("doctor") Doctor doctor, @Param("page") Page page);

    List<Doctor> getDoctorByDep_id(Doctor doctor);
    int addDoctor(Doctor doctor);

    int editDoctor(Doctor doctor);

    Doctor getDoctorById(int id);
    int delDoctor(int id);
    int getCount(@Param("doctor") Doctor doctor);

    List<String > getDoctorName();
}
